<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style>
        .box{width:1000px;border: solid 1px black;margin: 0 auto;overflow: hidden;}
        .box .cont{width:250px;border:solid 1px black;box-sizing: border-box;float: left;}
        .box .cont img{width:90%;display: block;margin: 0 auto;}
        .box .cont p{line-height:20px;height:40px;overflow: hidden;}
        .box .cont .addCart{display: block;margin: 0 auto;}
    </style>
</head>
<body>
    <h2>这是商品列表，<a href="./cart.html">去结算</a></h2>
    <div class="box"></div>
</body>
<script type="module" src="./js/listMain.js"></script>
</html>